package edu.suda.xsap.mapper;

import edu.suda.xsap.entity.Employee;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface EmployeeMapper {
    void delete(Integer id);
    List<Employee> findAll();
    Employee findById(Integer id);
    Employee findByName(String name);
    void save(Employee employee);
    void update(Employee employee);
}
